import { ReactNode } from 'react';

export interface TableData<T> {
  data: Record<keyof Partial<TableDataBase & T>, string | number | ReactNode>[];
  headers: Partial<Record<keyof T, TableHeaderCol>>;
}

export interface TableDataBase {
  id: string;
}

export interface TableHeaderCol {
  label: string;
  width?: string;
}
